﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OnlineListAreaSearch.aspx.cs"
    Inherits="EntLibEC.View.Online.OnlineListAreaSearch" %>

<%@ Register Src="../Cmn/Menu.ascx" TagName="Menu" TagPrefix="uc1" %>
<%@ Register Src="../Cmn/Category1.ascx" TagName="Category1" TagPrefix="uc2" %>
<%@ Register Src="../Cmn/PagePosition.ascx" TagName="PagePosition" TagPrefix="uc3" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>前台展示区域</title>

    <script language="javascript" src="../Cmn/EntLibEC.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <uc1:Menu ID="Menu1" runat="server" />
        <table class="tbl" id="Table1" cellspacing="1" cellpadding="2" align="center" border="0">
            <tr class="tblrow">
                <td colspan="4" class="title">
                    <asp:Label ID="Label1" runat="server">前台展示区域</asp:Label>
                </td>
            </tr>
            <tr class="tblrow">
                <th>
                    显示区域名称：
                </th>
                <td>
                    <asp:TextBox ID="txtListAreaName" runat="server" Width="200px"></asp:TextBox>
                </td>
                <th>
                    显示区域主键：
                </th>
                <td>
                    <asp:TextBox ID="txtListAreaKey" runat="server" Width="150px"></asp:TextBox>
                    &nbsp;(必须为整型数值)
                </td>
            </tr>
            <tr class="tblrow">
                <th>
                    产品目录大类：
                </th>
                <td>
                    <uc2:Category1 ID="ucCategory" runat="server" />
                </td>
                <th>
                    页面位置：
                </th>
                <td>
                    <uc3:PagePosition ID="ucPagePosition" runat="server" />
                </td>
            </tr>
            <tr class="tblrow">
                <th>
                    显示顺序：
                </th>
                <td>
                    <asp:TextBox ID="txtListOrder" runat="server" Width="100px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr class="tblrow">
                <td colspan="4" align="center">
                    <asp:Button ID="btnSearch" runat="server" Text="查  询" 
                        onclick="btnSearch_Click" />
                    &nbsp;
                    <asp:Button ID="btnAdd" runat="server" Text="新  增..." />
                    <asp:LinkButton ID="LinkButton1" runat="server" Width="0px"></asp:LinkButton>
                </td>
            </tr>
            <tr class="tblrow">
                <td colspan="4">
                    <asp:Label ID="lblMessage" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    <div style="text-align: center; margin-top: 10px;">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            SkinID="GridView">
            <Columns>
                <asp:BoundField DataField="SysNo" HeaderText="系统编号" />
                <asp:BoundField DataField="ListAreaName" HeaderText="显示区域名称" />
                <asp:BoundField DataField="ListAreaKey" HeaderText="显示区域主键" />
                <asp:BoundField DataField="CategoryName" HeaderText="大类目录" />
                <asp:BoundField DataField="PagePositionName" HeaderText="页面位置" />
                <asp:BoundField DataField="ListOrder" HeaderText="显示顺序" />
                <asp:BoundField DataField="UserName" HeaderText="创建人" />
                <asp:BoundField DataField="CreateTime" HeaderText="创建时间" />
                <asp:BoundField DataField="Operation" HeaderText="操  作" HtmlEncode="False" />
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
